class PSGameInfo extends UDKGame;

enum ECharacter
{
	CHARACTER_Didrik,
	CHARACTER_EnemyLight,
};

var float NormalSpeed;
var bool inDebug;

var ECharacter PlayerCharacter;

var config int subtitleLang; //0: No subt, 1:ES, 2:EN
var config int tutorialLang; //0: No, 1:ES, 2:EN


function class<Pawn> GetDefaultPlayerClass(Controller C)
{
	switch(PlayerCharacter)
	{
		case(CHARACTER_Didrik): return class'PSGame.PSPawnDidrik';
	}
}

function SetSlowSpeed(float SlowSpeed, float SlowTime)
{
	WorldInfo.Game.SetGameSpeed(SlowSpeed);
	SetTimer(SlowTime, false, 'ResetToNormalSpeed');
}

function ResetToNormalSpeed()
{
	WorldInfo.Game.SetGameSpeed(NormalSpeed);
}

DefaultProperties
{
	bDelayedStart = false
	bRestartLevel =true
	PlayerCharacter=CHARACTER_Didrik;
	//DefaultPawnClass=class'PSGame.PSPawn'
	PlayerControllerClass=class'PSGame.PSPlayerController'

	NormalSpeed=1.0

	HUDType = class'PSGame.PSHud'

}